package com.common;

public class WXUtils {
	private static String tokenUrl = "https://api.weixin.qq.com/cgi-bin/token";
	private static String appid = "wx5f2280984abb1f11";
	private static String grand_type = "client_credential";
	private static String secret = "f5c0bdd0d4055d9b7c0aa7a2c9e1b04a";

	public static String getTokenUrl() {
		String url = tokenUrl + "?grant_type=%s&appid=%s&secret=%s";
		url = String.format(url, grand_type, appid, secret);
		return url;
	}
}
